import { ApiCall } from "tsrpc";
import { ReqGetServiceState, ResGetServiceState } from "../../../tsrpc/shared/protocols/room/PtlGetServiceState";
import { rs } from "../../../RoomServiceEntra";

export default async function (call: ApiCall<ReqGetServiceState, ResGetServiceState>) {
    // TODO
    call.succ({
        roomNum: rs.RoomServiceModel.rooms.size
    })
}